<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" session="true"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<script type="text/javascript">
		function update(){
			$("#form").attr("action","/trackerGrp/trackerGrpUpdateOk.do");
			$("#form").submit();  
		}  
		  
		function goList(){
			$("#form").attr("action","/trackerGrp/trackerGrpList.do");
			$("#form").submit();    
		}  
</script>  
	
	<h2 class="sub-header">${title}</h2> 	
		<form class="form-horizontal" role="form" name="form" id="form" method="post">
		<input name="trackerGrpNo" id="trackerGrpNo" type="hidden" value="${trackerGrpDetail.trackerGrpNo}">
		  <div class="form-group"> 
		    <label for="inputEmail3" class="col-sm-2 control-label">트래커 상위코드</label>
		    <div class="col-sm-10">
		      <input type="text" class="form-control" name="trackerGrpCd" id="trackerGrpCd" placeholder="트래커 상위코드" value="${trackerGrpDetail.trackerGrpCd }">
		    </div>    
		  </div>
		  <div class="form-group">
		    <label for="inputPassword3" class="col-sm-2 control-label">트래커 상위 이름</label>
		    <div class="col-sm-10">
		      <input type="text" class="form-control" name="trackerGrpNm"  id="trackerGrpNm" placeholder="트래커 상위 이름" value="${trackerGrpDetail.trackerGrpNm }">
		    </div>  
		  </div>
		  <div class="form-group">
		    <label for="inputPassword3" class="col-sm-2 control-label">트래커 상위 설명</label>
		    <div class="col-sm-10">
		      <input type="text" class="form-control" name="trackerGrpInfo"  id="trackerGrpInfo" placeholder="트래커 상위 설명" value="${trackerGrpDetail.trackerGrpInfo }">
		    </div>
		  </div>	  
		  <div class="form-group">
		    <div class="col-sm-offset-2 col-sm-10">  
		     	<a class="btn btn-default" href="#" onClick="update()">등록</a>
		     	<a class="btn btn-default" href="#" onClick="goList()">목록</a>
		    </div>
		  </div>
		</form>